<?php
declare(strict_types=1);

namespace app\store\model;

use app\common\model\CarType as CarTypeModel;

class CarType extends CarTypeModel
{
    public function add($data)
    {
        return $this->save($data);
    }

    public function edit($data)
    {
        return $this->save($data);
    }

    public function remove(int $categoryId)
    {
        // 删除记录
        return $this->delete();
    }
}
